import request from '@/utils/request'

// 查询房屋家具类列表
export function listSupport(houseId) {
  return request({
    url: '/domain/support/allotSupport/allocatedList/' + houseId,
    method: 'get',
  })
}

// 修改房屋家具类
export function updateSupport(data) {
  return request({
    url: '/domain/support',
    method: 'put',
    data: data
  })
}

//修改房屋配套家具
export function updateAllotSupport(data) {
  return request({
    url: '/domain/support/allotSupport',
    method: 'put',
    params: data
  })
}
